﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmProveedor.aspx.cs" Inherits="SISLOG.Web.frmProveedor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <fieldset>
    <legend> Proveedor </legend>
        <fieldset>
            <legend> Burcar Proveedor </legend>    
                <asp:RadioButton ID="RadioButton1" runat="server" text="RUC" 
                GroupName="Radio"/>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:RadioButton ID="RadioButton2" runat="server" text="Nombre Empresa" 
                GroupName="Radio" />
            <br />
            <br />
                Buscar:&nbsp;&nbsp;<asp:TextBox ID="TextBox1" runat="server" Width="274px"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="botonBuscar" runat="server" Text="Buscar" 
                onclick="botonBuscar_Click" /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Button ID="Button1" runat="server" Text="Nuevo Proveedor" onclick="Button1_Click" />
   </fieldset>   
   <fieldset>
    <legend> Listar Proveedor </legend>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:BoundField DataField="idProveedor" HeaderText="Id Proveedor" 
                SortExpression="idProveedor" />
            <asp:BoundField DataField="nombreEmpresa" HeaderText="Nombre Empresa" 
                SortExpression="nombreEmpresa" />
            <asp:BoundField DataField="ruc" HeaderText="RUC" SortExpression="ruc" />
            <asp:BoundField DataField="direccion" HeaderText="Direccion" 
                SortExpression="direccion" />
            <asp:BoundField DataField="telefono" HeaderText="Teléfono" 
                SortExpression="telefono" />
            <asp:BoundField DataField="email" HeaderText="E-mail" SortExpression="email" />
            <asp:BoundField DataField="representante" HeaderText="Representante" 
                SortExpression="representante" />
            <asp:HyperLinkField DataNavigateUrlFields="idProveedor" 
                DataNavigateUrlFormatString="frmCRUDProveedor.aspx?id={0}" HeaderText="Editar" 
                Text="Editar" />
        </Columns>
    </asp:GridView>
    </fieldset>
  </fieldset> 
</asp:Content>
